package treeedit;

import java.awt.BorderLayout;

import javax.swing.*;

public class TestTree extends JFrame
{
	public TestTree ( )
	{
		
		CodeModel c = new CodeModelExtra();
		CodeTree cte = new CodeTree(c,new CodeRendererExtra());
	
		setContentPane(new JScrollPane(cte));
		
		setSize(600,600);
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setVisible(true);
		System.out.println(ClassLoader.getSystemClassLoader().getResource("treeedit/hammer24.gif"));
		
	}
	
	public static void main ( String args[])
	{
		new TestTree();
	}
	

}
